package com.wssnail.dto;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;

@Data
@XmlAccessorType(XmlAccessType.FIELD)
public class Video {
    @JSONField(name = "media_id")
    @XmlElement(name = "MediaId", required = true)
    private String mediaId;

    @JSONField(name = "title")
    @XmlElement(name = "Title")
    private String title;

    @JSONField(name = "description")
    @XmlElement(name = "Description")
    private String description;

    @JSONField(name = "thumb_media_id")
    private String thumbMediaId;
}